package com.example.entity;

import java.io.Serializable;
import java.util.Date;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Id;

@SuppressWarnings("serial")
public class BaseEntity implements Serializable {

	/**
	 * 
	 */
	@Id
	private Long id;
	
	/**
	 * 创建时间
	 */
	@Column(value = "create_time")
	private Date createTime;

	/**
	 * 
	 */
	@Column(value = "update_time")
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}
